53ed6c3e81f247e6c06f0419e119e1338168d205,modules/apps/foundation/login/login-web/src/main/java/com/liferay/login/web/portlet/action/LoginMVCActionCommand.java,LoginMVCActionCommand,postProcessAuthFailure,#ActionRequest#ActionResponse#,253
Before Change
Layout layout = (Layout)actionRequest.getAttribute(WebKeys.LAYOUT);
PortletURL portletURL = new PortletURLImpl(
actionRequest, portletName, layout.getPlid(),
PortletRequest.RENDER_PHASE);
portletURL.setParameter("saveLastPath", Boolean.FALSE.toString());
After Change
}
protected void postProcessAuthFailure(
ActionRequest actionRequest, ActionResponse actionResponse)
throws Exception {
LiferayPortletRequest liferayPortletRequest =
PortalUtil.getLiferayPortletRequest(actionRequest);
String portletName = liferayPortletRequest.getPortletName();
Layout layout = (Layout)actionRequest.getAttribute(WebKeys.LAYOUT);
PortletURL portletURL = PortletURLFactoryUtil.create(
actionRequest, portletName, layout.getPlid(),
PortletRequest.RENDER_PHASE);
portletURL.setParameter("saveLastPath", Boolean.FALSE.toString());